#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>

using namespace std;

int main()
{
	int A, B, C, D;
	cin >> A >> B >> C >> D;
	cout << "DIFERENCA =" << ' ' << A * B - C * D;
	return 0;
}